﻿
@model RTW.OA.Models.attend_overtime
@{

    Layout = "~/Views/Shared/_LayoutBase.cshtml";
}

@section styles{

}
<div id="dMain">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox" style="margin-bottom: 0px;">
            <div class="ibox-title">
                <h4>加班表明细 </h4>
            </div>
            <div class="ibox-content">				
                    <div class="from-content">
                        <dl>
                            <dt>用户名</dt>
                            <dd>
							    @Html.DisplayFor(m => m.USER_ID, new { htmlAttributes = new { @class = "input normal form-control"  ,datatype="*", nullmsg=" ", errormsg=" ", sucmsg=" "} })
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>审批人</dt>
                            <dd>
							    @Html.DisplayFor(m => m.APPROVE_ID, new { htmlAttributes = new { @class = "input normal form-control"  } })
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>登记时间</dt>
                            <dd>
							    @Html.DisplayFor(m => m.RECORD_TIME, new { htmlAttributes = new { @Class = "input rule-date-input form-control", onfocus = "WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss'})"  } })
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>加班开始时间</dt>
                            <dd>
							    @Html.DisplayFor(m => m.START_TIME, new { htmlAttributes = new { @Class = "input rule-date-input form-control", onfocus = "WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss'})"  } })
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>加班结束时间</dt>
                            <dd>
							    @Html.DisplayFor(m => m.END_TIME, new { htmlAttributes = new { @Class = "input rule-date-input form-control", onfocus = "WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm:ss'})"  } })
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>加班时长</dt>
                            <dd>
							    @Html.DisplayFor(m => m.OVERTIME_HOURS, new { htmlAttributes = new { @class = "input normal form-control"  } })
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>加班内容</dt>
                            <dd>
							    @Html.DisplayFor(m => m.OVERTIME_CONTENT,  new { @class = "input normal form-control" ,datatype="*", nullmsg=" ", errormsg=" ", sucmsg=" " })
                            </dd>
                        </dl>																																																																																																								                        <dl>
                            <dt>是否倒休</dt>
                            <dd>
							    <div class="rule-single-checkbox"> @Html.DisplayFor(m => m.WHETHER_OFF,  new { @class = "form-control" }) </div> 
                            </dd>
                        </dl>
																			                        <dl>
                            <dt>是否已经兑换过时长</dt>
                            <dd>
							    <div class="rule-single-checkbox"> @Html.DisplayFor(m => m.EXCHANGE_TIME,  new { @class = "form-control" }) </div> 
                            </dd>
                        </dl>
													                     
                    </div>
                    <div class="from-footer">
                        <div class="btn-wrap" style="position: fixed;">
                            <a class="btn btn-sm btn-warning radius" onclick="parent.subcloseTab('3403')">
                                <i class="iconfont icon-fanhui"></i>
                                取消关闭
                            </a>
                        </div>
                    </div>
            </div>
        </div>
    </div>
</div>
@section scripts{
    <script src="@Url.Content("~/Content/JS/common/WdatePicker/WdatePicker.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/JS/common/jquery/Validform_v5.3.2_min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/JS/common/artdialog/dialog-plus-min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/JS/common/webuploader/webuploader.min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/editor/ueditor.config.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/editor/ueditor.all.min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/editor/lang/zh-cn/zh-cn.js")"></script>
    @*<script type="text/javascript" charset="utf-8" src="../js/uploader.js"></script>*@

    <script src="@Url.Content("~/Content/JS/common/from.js")"></script>
    <script>
        $(function () {
            //初始化表单验证
            $("#overtimefrom").initValidform();

        });
        function savefrom() {
            $("#overtimefrom").submit();
        }

    </script>

}